package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.PieceRate;

public interface PieceRateMapper {

	public int deletePieceRateById(long id);

	public PieceRate selectPieceRateById(long id);

	public List<PieceRate> selectPieceRateByMap(Map<String,Object> map);

	public List<PieceRate> selectPieceRate(PieceRate pieceRate);

	public List<PieceRate> selectAllPieceRate();

	public int insertPieceRate(PieceRate pieceRate);

	public int updatePieceRate(PieceRate pieceRate);

	public int deletePieceRate(PieceRate pieceRate);

	public int updatePieceRateByMap(Map<String,Object> map);

	public int deletePieceRateByMap(Map<String,Object> map);
	public int getAllPieceRateCounts();
	public int getPieceRateCounts(PieceRate pieceRate);
	public int getPieceRateCountsByMap(Map<String,Object> map);
}
